package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * QQ和渠道关联，记录每个qq在哪个渠道的哪个游戏上的等级表 qq_channel
 * 
 * @author ruoyi
 * @date 2019-06-01
 */
public class QqChannel extends BaseEntity
{
	private static final long serialVersionUID = 1L;
	
	/**  */
	private Integer id;
	/** qq */
	private Integer qqId;
	/** 渠道 */
	private Integer channelId;
	/** 等级 */
	private Integer level;
	/** 可否付费 */
	private Integer canCharge;

	public void setId(Integer id) 
	{
		this.id = id;
	}

	public Integer getId() 
	{
		return id;
	}
	public void setQqId(Integer qqId) 
	{
		this.qqId = qqId;
	}

	public Integer getQqId() 
	{
		return qqId;
	}
	public void setChannelId(Integer channelId) 
	{
		this.channelId = channelId;
	}

	public Integer getChannelId() 
	{
		return channelId;
	}
	public void setLevel(Integer level) 
	{
		this.level = level;
	}

	public Integer getLevel() 
	{
		return level;
	}
	public void setCanCharge(Integer canCharge) 
	{
		this.canCharge = canCharge;
	}

	public Integer getCanCharge() 
	{
		return canCharge;
	}

    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("qqId", getQqId())
            .append("channelId", getChannelId())
            .append("level", getLevel())
            .append("canCharge", getCanCharge())
            .toString();
    }
}
